package com.yutel.multher.example;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.yutel.multher.reaper.listener.OnTaskListener;

public class SmsTaskListener implements OnTaskListener<SmsPo> {
	private static final Logger log = LoggerFactory
			.getLogger(SmsTaskListener.class);

	@Override
	public SmsTaskListener NewTask() {
		log.info("OnNewTask()");
		return new SmsTaskListener();
	}

	@Override
	public void OnTaskProcess(SmsPo sms) {
		log.info("OnTaskProcess()");
	}
}
